﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Objects.DataClasses;
using System.Runtime.Serialization;


namespace Emerson.Storage.Entities
{
    [DataContract]
    public class WorkstationRoot
    {
        public WorkstationRoot()
        {

        }
        [DataMember]
        public string Name
        {
            get;
            set;
        }
        [DataMember]
        public List<Group> Groups
        {
            get;
            set;
        }
    }

    [DataContract]
    public class ApplicationInfo
    {
        public ApplicationInfo()
        {
        }
        [DataMember]
        public string DatabaseName
        {
            get;
            set;
        }

        [DataMember]
        public string ServerAddress
        {
            get;
            set;
        }
        [DataMember]
        public string ServerName
        {
            get;
            set;
        }
    }
}
